/**
 * Created by Administrator on 2017/9/3 0003.
 */
var mongoose = require('mongoose'),
    Schema = mongoose.Schema,
    Todo = new Schema({
        todoTitle: String,
        address: String,
        startTime: Date,
        endTime: Date,
        status: Number,
        desc: String,
        creator:String,
        createDateTime: Date
    });

module.exports = mongoose.model('todo', Todo,'todo');